package com.jason.quartzdemo.job;

import com.jason.quartzdemo.utils.DateUtils;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Random;

@Slf4j
@Component
public class Job_A2  {

    public void springMethod() {
        log.info("------mytask--A2-----;执行时间:{},生成随机数:{}", DateUtils.getDate(),new Random().nextLong());
    }
}
